.hg_detaile {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

.detail-top {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 4;
}

.tabs {
  color: green;
}

.detail {
  overflow-y: scroll;
  width: 100%;
  height: 100%;
  position: fixed;
  margin-top: 50px;
  z-index: 100;

  .detail-goods {
    background: #fff;

    .detail-pic {
      width: 100%;
      background: #fff;
      height: 100%;
      overflow: hidden;
      position: relative;
      font-size: 0;
      white-space: nowrap;

      li {
        width: 100%;
        display: inline-block;
        position: relative;
        height: 305px;
        z-index: auto;

        img {
          width: 100%;
        }
      }
    }
  }

  .detail-wrap {
    background: #fff;
    padding-bottom: 100px;

    .detail-name {
      background: #fff;

      dl {
        margin-top: 10px;
        font-size: 16px;
      }
    }

    .detail-price {
      position: relative;
      z-index: 1;
      display: block;
      padding: 0 0.5rem;
      background-color: #fff;

      dl>dt {
        display: inline-block;
        font-size: 0.55rem;
        color: #db4453;
        line-height: 1rem;
      }

      .sold {
        position: absolute;
        z-index: 1;
        top: 0.25rem;
        right: 0.75rem;
        display: block;
        font-size: 0.55rem;
        line-height: 1rem;
        height: 1rem;
      }
    }

    .detail-item {
      position: relative;
      z-index: 1;
      padding: 0.5rem;
      background: #fff;
      border-bottom: solid 0.05rem #eee;
      font-size: 16px;

      .item-name {
        position: absolute;
        z-index: 1;
        top: 0.5rem;
        left: 0.5rem;
        display: block;
        width: 1.6rem;
        height: 0.9rem;
        font-size: 0.6rem;
        color: #888;
        line-height: 0.9rem;
      }

      .detail-freight {
        display: block;
        line-height: 0.9rem;
        margin-left: 2rem;
        font-size: 16px;

        strong {
          color: #ed5564;
          margin-left: 0.5rem;
        }

        dd {
          font-size: 0.55rem;
          color: #888;
          line-height: 0.9rem;
          margin-top: 0.4rem;
        }
      }
    }

    .goods-detail-item {
      position: relative;
      z-index: 1;
      padding: 0.5rem;
      background: #fff;
      border-bottom: solid 0.05rem #eee;

      .itme-name {
        position: absolute;
        z-index: 1;
        top: 0.5rem;
        left: 0.5rem;
        display: block;
        width: 1.6rem;
        height: 0.9rem;
        font-size: 0.6rem;
        color: #888;
        line-height: 0.9rem;
      }

      .item-con {
        display: block;
        margin-left: 1.6rem;

        dl {
          display: block;
          line-height: 0.9rem;

          dt {
            font-size: 0.6rem;
            color: #333;

            span {
              display: inline-block;
              height: 0.9rem;
              margin: 0 0.3rem 0.3rem 0;
              border: solid 0.05rem #ccc;
              font-size: 0.55rem;
              line-height: 0.9rem;
              padding: 0 0.2rem;
              color: #777;
            }
          }
        }
      }
    }

    .goods-detail-comment {
      background-color: #fff;
      z-index: 1;
      padding: 0 0.5rem;
      margin-top: 0.5rem;
      border-top: solid #eee 0.05rem;
      border-bottom: solid #eee 0.05rem;

      .title {
        display: block;
        text-align: left;

        i {
          display: block;
          position: relative;
          z-index: 1;
          height: 0.9rem;
          padding: 0.5rem 0;
          font-size: 0.6rem;
          line-height: 0.9rem;
          color: #888;

          span {
            font-size: 0.55rem;
            margin-left: 0.5rem;
            color: #ed5564;

            em {
              font-size: 0.6rem;
              font-weight: 600;
              margin-left: 0.2rem;
            }
          }
        }
      }

      .rate-num {
        position: absolute;
        z-index: 1;
        top: 0.5rem;
        right: 1rem;
        color: #888;
        font-size: 0.55rem;
      }
    }

    .goods-detail-store {
      display: block;
      position: relative;
      z-index: 1;
      padding: 0 0.5rem;
      margin: 0.5rem 0;
      background: #fff;
      border: solid #eee;
      border-width: 0.05rem;

      .store-name {
        height: 0.9rem;
        font-size: 0.7rem;
        line-height: 0.9rem;
        color: #333;

        .icon-store {
          display: inline-block;
          width: 0.8rem;
          height: 0.9rem;
          vertical-align: top;
          margin-right: 0.2rem;
          background-repeat: no-repeat;
          background-position: 50% 50%;
          background-size: 80%;
          opacity: 0.75;
        }
      }

      .store-rate {
        height: 0.7rem;
        padding: 0.4rem 0 0.5rem 0;
        border-top: solid 0.05rem #eee;
        font-size: 0;

        span {
          display: inline-block;
          width: 33.33%;
          height: 0.7rem;
          font-size: 0.55rem;
          line-height: 0.7rem;
          color: #888;

          em {
            color: #ed5564;
            display: inline-block;
            vertical-align: middle;
            font-size: 0.7rem;
            font-weight: 600;
          }
        }
      }
    }

    .goods-detail-recom {
      background: #fff;
      padding: 0 0 0 0.5rem;
      margin: 0.5rem 0;
      background-color: #fff;
      border: solid #eee;
      border-width: 0.05rem;
      overflow: hidden;

      h4 {
        display: block;
        height: 0.9rem;
        font-size: 0.6rem;
        color: #888;
        line-height: 0.9rem;
      }

      ul>li {
        display: inline-block;
        width: 22%;
        margin: 0 3% 0.4rem 0;
      }

      .pic {
        display: block;
        width: 3.225rem;
        height: 3.225rem;
        border: solid 0.05rem #eee;

        img {
          display: block;
          width: 100%;
          height: 100%;
        }
      }

      dl {
        margin-top: 0.2rem;

        dt {
          display: block;
          overflow: hidden;
          height: 1.2rem;
          font-size: 0.5rem;
          line-height: 0.6rem;
          color: #777;
          margin-bottom: 0.2rem;
        }

        dd {
          font-size: 0.45rem;
          color: #333;
        }
      }
    }
  }
}

.goods-detail-foot {
  position: fixed;
  z-index: 999999;
  top: auto;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2rem;
  background: rgba(245, 245, 245, 0.95);

  .otreh-handle {
    float: left;
    width: 35%;
    font-size: 0;

    .cart {
      position: relative;
      z-index: auto;
      display: inline-block;
      height: 1.95rem;
      text-align: center;
      color: #333;
      border-top: solid 0.05rem #ddd;
      width: 100%;
      border-left: solid 0.05rem #ddd;

      p {
        display: block;
        height: 2rem;
        font-size: 0.8rem;
        line-height: 2rem;
        color: #aaa;
      }
    }
  }

  .buy-handle {
    float: right;
    width: 65%;
    font-size: 0;

    span {
      display: block;
      height: 2rem;
      font-size: 0.7rem;
      font-weight: 600;
      line-height: 2rem;
      color: #fff;
      text-align: center;
    }

    .add-cart {
      float: right;
      width: 55%;
      background-color: #fb6e52;
    }

    .buy-now {
      background-color: #ed5564;
    }
  }
}

.detail-dialog {
  bottom: 50px;
  position: fixed;
  .nctouch-bottom-mask-top {
    position: relative;
    z-index: 1;
    display: block;
    padding: 0.5rem;
    border-bottom: solid 0.05rem #eee;
    min-height: 3rem;

    .goods-pic {
      position: absolute;
      z-index: 1;
      top: 0.5rem;
      left: 0.5rem;
      width: 3rem;
      height: 3rem;
      background: #fff;

      img {
        width: 100%;
        height: 100%;
      }
    }

    dl {
      margin-left: 4rem;

      dt {
        font-size: 0.6rem;
        line-height: 0.75rem;
        margin: 0.2rem 0.6rem 0.4rem 0;
      }

      .goods-price {
        height: 1rem;
        font-size: 0.55rem;
        color: #db4453;
        font-weight: 600;
        line-height: 1rem;
      }
    }
  }

  .nctouch-bottom-mask-rolling {
    min-height: 1.9rem;
    max-height: 12rem;
    overflow: hidden;
    position: relative;
    z-index: 1;
  }

  .goods-option-value {
    display: block;
    height: 1.2rem;
    padding: 0.5rem;
    margin-bottom: 2rem;
    line-height: 1.2rem;
    font-size: 0.6rem;
    color: #999;
    margin-bottom: 80px;
    border-top: solid 0.05rem #eee;

    .value-box {
      display: inline-block;
      float: right;
      font-size: 0;
      border: solid 0.05rem #ccc;
      border-radius: 0.2rem;

      span {
        display: inline-block;
        vertical-align: top;
        line-height: 0;
      }

      .minus {
        width: 1.2rem;
        height: 1.2rem;
        background-color: #fafafa;
        border-radius: 0.2rem 0 0 0.2rem;

        i {
          display: block;
          width: 100%;
          height: 100%;
          color: black;
          font-size: 16px;
          text-align: center;
          line-height: 1rem;
        }
      }

      .buy-num {
        width: 1.2rem;
        height: 1.2rem;
        padding: 0;
        font-size: 0.6rem;
        font-weight: lighter;
        line-height: 1.3rem;
        text-align: center;
        border: solid #ccc;
        border-width: 0 0.05rem;
        border-radius: 0;
      }

      .add {
        width: 1.2rem;
        height: 1.2rem;
        background-color: #fafafa;
        border-radius: 0 0.2rem 0.2rem 0;

        i {
          display: block;
          width: 100%;
          height: 100%;
          color: black;
          font-size: 16px;
          text-align: center;
          line-height: 1rem;
        }
      }
    }
  }
}

.am-modal-content {
  position: relative;
  background-color: #fff;
  border: 0;
  background-clip: padding-box;
  text-align: center;
  height: 100%;
  overflow: hidden;
  bottom: 46px;
}